package com.demo8.system.mapper;

import com.demo8.system.domain.dto.SysUserMenuDTO;
import com.demo8.system.domain.dto.SysUserRoleDTO;
import com.demo8.system.domain.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author mazhenjiang
 * @description 针对表【sys_user(用户信息表)】的数据库操作Mapper
 * @createDate 2025-10-04 20:58:38
 * @Entity com.demo8.system.domain.entity.SysUser
 */
public interface SysUserMapper extends BaseMapper<SysUser> {


    List<SysUserRoleDTO> getUserRoleList(@Param("userId") Long userId);

    List<SysUserMenuDTO> getUserPermssionList(@Param("userId") Long userId);
}




